<template>
	<view class="u-p-30">
		<view>{{info.name}}</view>
		<u-gap height="30rpx"></u-gap>
		<view style="background: #FFF7F5;border-radius: 6rpx;padding: 15rpx 22rpx;">
			<!-- <view class="u-f-28 u-bold">{{info.author}}</view> -->
			<!-- <u-gap height="17rpx"></u-gap> -->
			<view class="u-flex ">
				<!-- <view style="padding: 4rpx 11rpx;background: rgba(234,77,68,0.1);font-size: 20rpx; color: #EA4D44;">{{info.city}}</view> -->
				<view class="u-f-20 u-m-l-10" style="color: #8A8A8A;">{{$u.timeFormat(info.update_time, 'yyyy年mm月dd hh:MM')}}</view>
			</view>
		</view>
		<u-gap height="30rpx"></u-gap>
			<u-parse :content="info.content"></u-parse>
	</view>
</template>


<script>
	export default {
		data() {
			return {
				
				info:{},
				id:0
				
			}
		},
		onLoad(e) {
			this.id = e.id
			this.getInfo()
		},
			
		methods: {
			async getInfo(){
				let url;
				url = 'content/advertInfo'
				let res= await uni.$u.http.post(url,{id:this.id});
				this.info = res
			},
		}
	}
</script>


<style>
</style>